package cn.iocoder.yudao.module.dine.desk.pojo.vo;

import cn.iocoder.yudao.framework.business.basic.annotation.AdminJsonView;
import cn.iocoder.yudao.framework.business.basic.annotation.AppJsonView;
import cn.iocoder.yudao.framework.business.basic.pojo.vo.BaseVO;
import cn.iocoder.yudao.framework.business.basic.pojo.vo.ShopSimpleVO;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonView;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * <pre>
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 * 视图对象
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 * </pre>
 *
 * @author 山野羡民（1032694760@qq.com）
 * @since 2025/04/11
 */
@Data
public class DeskCategoryVO extends BaseVO {

    @Schema(description = "上级编号")
    @JsonView({AdminJsonView.class, AppJsonView.class})
    private Long parentId;

    @Schema(description = "店铺编号")
    @JsonView({AdminJsonView.class, AppJsonView.class})
    private Long shopId;

    @Schema(description = "店铺信息")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private ShopSimpleVO shop;

    @Schema(description = "名称，如双人桌")
    @JsonView({AdminJsonView.class, AppJsonView.class})
    private String name;

    @Schema(description = "简介")
    @JsonView({AdminJsonView.class, AppJsonView.class})
    private String summary;

    @Schema(description = "人数")
    @JsonView({AdminJsonView.class, AppJsonView.class})
    private Integer people;

    @Schema(description = "图片")
    @JsonView({AdminJsonView.class, AppJsonView.class})
    private String picUrl;

    @Schema(description = "开关")
    @JsonView({AdminJsonView.class})
    private Boolean enable;

    @Schema(description = "排序")
    @JsonView({AdminJsonView.class})
    private Integer sort;

}
